home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 10498 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  509 b 

  1. Path: howland.reston.ans.net!usc!usc!not-for-mail
  2. From: sching@castor.usc.edu (James Ching)
  3. Newsgroups: comp.lang.c
  4. Subject: Getting output from system(cmd)
  5. Date: 18 Mar 1996 02:02:56 -0800
  6. Organization: University of Southern California, Los Angeles, CA
  7. Sender: sching@castor.usc.edu
  8. Message-ID: <4ijccg$r3s@castor.usc.edu>
  9. NNTP-Posting-Host: castor.usc.edu
  10.  
  11. Hi,
  12.  
  13. I'd like to run a system command by system(cmd) and get the output in 
  14. the program for later use.  How can I do that?
  15. Thanks in advance.
  16.  
  17. James
  18.